package com.feicheng.persistence.mapper;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.feicheng.persistence.entity.Akecheng;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.feicheng.persistence.model.KcWithJlModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author cailongyang
 * @since 2025-04-02
 */
public interface AkechengMapper extends BaseMapper<Akecheng> {

    IPage getKcWithJlByPage(IPage page, @Param(Constants.WRAPPER) Wrapper wrapper);

    List<KcWithJlModel> getKcWithJl(@Param(Constants.WRAPPER) Wrapper wrapper);

    List<JSONObject> getKcWithFtLt(@Param(Constants.WRAPPER) Wrapper wrapper);

    /* zhaocheng */
    List<JSONObject> getKCtotalPrice();
    /* zhaocheng */

    /* zhengyi */
    List<JSONObject> getKCtotalPricePerMonth(@Param(Constants.WRAPPER) Wrapper wrapper);
    /* zhengyi */

}
